home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / adainc / i-cpocon.ads < prev    next >
Text File  |  1996-01-30  |  5KB  |  118 lines

  1. -----------------------------------------------------------------------------
  2. --                                                                         --
  3. --                GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                         --
  5. --         I N T E R F A C E S . C . P O S I X _ C O N S T A N T S         --
  6. --                                                                         --
  7. --                                 S p e c                                 --
  8. --                                                                         --
  9. --                            $Revision: 1.4 $                            --
  10. --                                                                         --
  11. --          Copyright (c) 1991,1992,1993, FSU, All Rights Reserved         --
  12. --                                                                         --
  13. -- GNARL is free software; you can redistribute it and/or modify it  under --
  14. -- terms  of  the  GNU  Library General Public License as published by the --
  15. -- Free Software Foundation; either version 2, or  (at  your  option)  any --
  16. -- later  version.   GNARL is distributed in the hope that it will be use- --
  17. -- ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of --
  18. -- MERCHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- --
  19. -- eral Library Public License for more details.  You should have received --
  20. -- a  copy of the GNU Library General Public License along with GNARL; see --
  21. -- file COPYING. If not, write to the Free Software Foundation,  675  Mass --
  22. -- Ave, Cambridge, MA 02139, USA.                                          --
  23. --                                                                         --
  24. -----------------------------------------------------------------------------
  25.  
  26. package Interfaces.C.POSIX_Constants is
  27.  
  28.    pthread_t_size : constant Integer := 1;
  29.    pthread_attr_t_size : constant Integer := 13;
  30.    pthread_mutexattr_t_size : constant Integer := 3;
  31.    pthread_mutex_t_size : constant Integer := 8;
  32.    pthread_condattr_t_size : constant Integer := 1;
  33.    pthread_cond_t_size : constant Integer := 5;
  34.    pthread_key_t_size : constant Integer := 1;
  35.    pthread_jmp_buf_size : constant Integer := 9;
  36.    pthread_sigjmp_buf_size : constant Integer := 10;
  37.    posix_sigset_t_size : constant Integer := 1;
  38.    SIG_BLOCK : constant := 1;
  39.    SIG_UNBLOCK : constant := 2;
  40.    SIG_SETMASK : constant := 4;
  41.    SA_NOCLDSTOP : constant := 8;
  42.    SA_SIGINFO : constant := 0;
  43.    SIG_ERR : constant := -1;
  44.    SIG_DFL : constant := 0;
  45.    SIG_IGN : constant := 1;
  46.    SIGNULL : constant := 0;
  47.    SIGHUP  : constant := 1;
  48.    SIGINT  : constant := 2;
  49.    SIGQUIT : constant := 3;
  50.    SIGILL  : constant := 4;
  51.    SIGABRT : constant := 6;
  52.    SIGEMT  : constant := 7;
  53.    SIGFPE  : constant := 8;
  54.    SIGKILL : constant := 9;
  55.    SIGBUS  : constant := 10;
  56.    SIGSEGV : constant := 11;
  57.    SIGPIPE : constant := 13;
  58.    SIGALRM : constant := 14;
  59.    SIGTERM : constant := 15;
  60.    SIGSTOP : constant := 17;
  61.    SIGTSTP : constant := 18;
  62.    SIGCONT : constant := 19;
  63.    SIGCHLD : constant := 20;
  64.    SIGTTIN : constant := 21;
  65.    SIGTTOU : constant := 22;
  66.    SIGUSR1 : constant := 30;
  67.    SIGUSR2 : constant := 31;
  68.    SIGTRAP : constant := 5;
  69.    SIGSYS  : constant := 12;
  70.    SIGURG  : constant := 16;
  71.    SIGIO   : constant := 23;
  72.    SIGXCPU : constant := 24;
  73.    SIGXFSZ : constant := 25;
  74.    SIGVTALRM : constant := 26;
  75.    SIGPROF   : constant := 27;
  76.    SIGWINCH  : constant := 28;
  77.    SIGLOST   : constant := 29;
  78.    EPERM    : constant := 1;
  79.    ENOENT   : constant := 2;
  80.    ESRCH    : constant := 3;
  81.    EINTR    : constant := 4;
  82.    EIO      : constant := 5;
  83.    ENXIO    : constant := 6;
  84.    E2BIG    : constant := 7;
  85.    ENOEXEC  : constant := 8;
  86.    EBADF    : constant := 9;
  87.    ECHILD   : constant := 10;
  88.    EAGAIN   : constant := 11;
  89.    ENOMEM   : constant := 12;
  90.    EACCES   : constant := 13;
  91.    EFAULT   : constant := 14;
  92.    ENOTBLK  : constant := 15;
  93.    EBUSY    : constant := 16;
  94.    EEXIST   : constant := 17;
  95.    EXDEV    : constant := 18;
  96.    ENODEV   : constant := 19;
  97.    ENOTDIR  : constant := 20;
  98.    EISDIR   : constant := 21;
  99.    EINVAL   : constant := 22;
  100.    ENFILE   : constant := 23;
  101.    EMFILE   : constant := 24;
  102.    ENOTTY   : constant := 25;
  103.    ETXTBSY  : constant := 26;
  104.    EFBIG    : constant := 27;
  105.    ENOSPC   : constant := 28;
  106.    ESPIPE   : constant := 29;
  107.    EROFS    : constant := 30;
  108.    EMLINK   : constant := 31;
  109.    EPIPE    : constant := 32;
  110.    ENOSYS   : constant := 90;
  111.    ENOTSUP  : constant := 91;
  112.    NO_PRIO_INHERIT : constant := 0;
  113.    PRIO_INHERIT : constant := 1;
  114.    PRIO_PROTECT : constant := 2;
  115.    Add_Prio : constant Integer := 2;
  116.  
  117. end Interfaces.C.POSIX_Constants;
  118.